<%--
  Created by IntelliJ IDEA.
  User: wcc
  Date: 2025/6/29
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
  <body>
    <table border="1" width="500px">
      <tr>
        <th>序号</th>
        <th>id</th>
        <th>用户名</th>
        <th>性别</th>
      </tr>
      <c:forEach items="${userlist}" var="user" varStatus="status">
        <tr>
          <td>${status.count}</td>
          <td>${user.id}</td>
          <td>${user.username}</td>
          <td>${user.gender}</td>
        </tr>
      </c:forEach>
    </table>
  </body>
</html>
